package cn.tjd.smart_health.provider.mapper;

import cn.tjd.smart_health.common.entity.Setmeal;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SetMealMapper extends BaseMapper<Setmeal> {
    Integer InsertSetMealAndCheckGroup(@Param("setmealId") Integer setmeakId, @Param("groupId") Integer groupId);

    Integer deleteCheckGroupsBySetMealId(@Param("setmealId") Integer id);

    List<Integer> findCheckGroupsBySetMeal(@Param("setmealId") Integer setmealId);

}
